package com.zking.entity;

public class Category {
    Integer epc_id;
    String epc_name;
    Integer epc_parent_id;

    public Category() {
    }

    public Category(Integer epc_parent_id) {
        this.epc_parent_id = epc_parent_id;
    }

    public Category(Integer epc_id, String epc_name, Integer epc_parent_id) {
        this.epc_id = epc_id;
        this.epc_name = epc_name;
        this.epc_parent_id = epc_parent_id;
    }

    public Category(String epc_name, Integer epc_parent_id) {
        this.epc_name = epc_name;
        this.epc_parent_id = epc_parent_id;
    }

    public Category(String epc_name) {
        this.epc_name = epc_name;
    }

    public Integer getEpc_id() {
        return epc_id;
    }

    public void setEpc_id(Integer epc_id) {
        this.epc_id = epc_id;
    }

    public String getEpc_name() {
        return epc_name;
    }

    public void setEpc_name(String epc_name) {
        this.epc_name = epc_name;
    }

    public Integer getEpc_parent_id() {
        return epc_parent_id;
    }

    public void setEpc_parent_id(Integer epc_parent_id) {
        this.epc_parent_id = epc_parent_id;
    }

    @Override
    public String toString() {
        return "Category{" +
                "epc_id=" + epc_id +
                ", epc_name='" + epc_name + '\'' +
                ", epc_parent_id=" + epc_parent_id +
                '}';
    }
}
